package com.gpf.marketing;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @program: clms-seventh
 * @description: 营销系统的主启动类
 * @author: 龚鹏飞
 * @create: 2021-07-23 14:46
 **/
@SpringBootApplication
@MapperScan(basePackages = "com.gpf.marketing.mapper")
@ComponentScan(basePackages = {"com.gpf.marketing","com.seventh.common"}) //默认扫描的组件为主启动类所在的包以及子包   自定义扫描的包
public class MarketingApp {
    public static void main(String[] args) {
        SpringApplication.run(MarketingApp.class,args);
    }
}
